package com.hmall.api.client.pay;

import com.hmall.api.po.PayOrder;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("pay-service")
public interface PayClient {

    @GetMapping("/PayOrder/{bizOrderNo}")
    PayOrder queryByBizOrderNo(@RequestParam("bizOrderNo") Long bizOrderNo);
}
